package com.guowei.jiecloudbackstage.quickbooking.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ym
 * @since 2021-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Order对象", description="")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单编号")
    @TableId("orderId")
    private String orderId;

    @ApiModelProperty(value = "客户姓名")
    @TableField("guestName")
    private String guestName;

    @ApiModelProperty(value = "客户手机号")
    @TableField("guestPhone")
    private String guestPhone;

    @ApiModelProperty(value = "预订的房间数")
    private Integer roomsbooked;

    @ApiModelProperty(value = "客房类型（0.标准单人间/1.标准双人房/2.豪华大床房/3.商务套房）。与room表关联")
    @TableField("roomType")
    private Integer roomType;

    @ApiModelProperty(value = "房间号")
    @TableField("roomNumber")
    private String roomNumber;

    @ApiModelProperty(value = "入住人数")
    @TableField("checkNumbers")
    private Integer checkNumbers;

    @ApiModelProperty(value = "客房编号(外键)")
    @TableField("roomId")
    private Integer roomId;

    @ApiModelProperty(value = "房间环境状态(脏/净)")
    @TableField("roomEnvironment")
    private String roomEnvironment;

    @ApiModelProperty(value = "抵达日期")
    @TableField("arriveDate")
    private LocalDateTime arriveDate;

    @ApiModelProperty(value = "离店日期")
    @TableField("leaveDate")
    private LocalDateTime leaveDate;

    @ApiModelProperty(value = "会员卡号")
    @TableField("memberCard")
    private String memberCard;

    @ApiModelProperty(value = "合约单位")
    @TableField("contractUnit")
    private String contractUnit;

    @ApiModelProperty(value = "备注")
    private String remarks;


}
